home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Feb 90 / MacApp.Tech$ 2⁄16⁄90 / 0679-Re[2] Data Dilemma-Feb90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.1 KB  |  30 lines  |  [TEXT/GEOL]

  1. Item    8975744                         15-Feb-90        09:20PST
  2.  
  3. From:   PASCOE1                         Pascoe, Geoff
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Re: Re: Data Dilemma
  8.  
  9. Jeff and Bob,
  10.  
  11. I agree that separating Model from View/Contoller (as Smalltalkers call it) is
  12. VERY desireable.  However, its important not to get TOO dogmatic about this.
  13. Sometimes combining the model (Document) with the view leads to a cleaner
  14. structure.  It sounds like Bob's problem might (and I emphasize "might") be an
  15. appropriate case.
  16.  
  17. My advice is to carefully consider the implications of combining model and
  18. view.  If it appears natural and does not cause other, more serious problems,
  19. go for it.
  20.  
  21. Incidentally, MacApp is an example of such a compromise.  Normally, in a
  22. Smalltalk world, the model does not have any reference to it's view.  This is
  23. because any model may have multiple ways to be viewed and manipulated (at the
  24. same time).  In MacApp, however, Documents reference their Views.  This is
  25. appropriate when put in the context of what MacApp is trying to accomplish and
  26. it's overall design.
  27.  
  28. Geoff
  29.  
  30.